package com.tvein.system.model
{
	//flash
	//pureMVC
	import org.puremvc.as3.multicore.interfaces.IProxy;
	import org.puremvc.as3.multicore.patterns.proxy.Proxy;
	//custom
	import com.tvein.system.common.CommonConstants;
//
	public class ServerProxy extends Proxy implements IProxy
	{
		public static const NAME:String = "ServerProxy";
		
		public function ServerProxy()
		{
			super(NAME);
		}
		
		//Custom
		private var _serverXML:XML;
		private var _srcServer:XMLList;
		
		public function set serverXML(value:XML) : void
		{
			_serverXML = value;
			_srcServer = value.srcServer.src;
		}
		
		public function get serverXML() : XML
		{
			return _serverXML;
		}
		
		public function get srcServer() : XMLList
		{
			return _srcServer;
		}
		
		private var _p2pValue:Boolean = true;
		
		public function set p2pValue(value:Boolean) : void
		{
			_p2pValue = value;
		}
		
		public function get p2pValue() : Boolean
		{
			return _p2pValue;
		}
	}
}